package com.abc.di04;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyTest {

    @Test
    public void test01() {
       ApplicationContext ac = new ClassPathXmlApplicationContext("com/abc/di04/applicationContest.xml");
       Student student = (Student) ac.getBean("student");
       System.out.println(student);

    }

}
